|
|
Task Builder Definition |
Minimum Requirements
The Task Builder and Event Trigger buttons only display if the SmartLink component is installed on a workstation and is registered with the EntraPass server.
Task Builder Dialogs Description
1 - Click the Definition tab, and click Task Builder.
Use the Task Builder menu to create SmartLink tasks. When you install a SmartLink application, the Task insertion menu for SmartLink button is activated. This allows operators to send built-in task commands to the SmartLink.
NOTE: The BATCHMODIFY command in SmartLink allows batch modifications to a group of cards. You can change parameters for a group of cards of the same type. Only the data fields indicated in the command are modified.
2 - Select Task insertion menu for SmartLink and a menu displays, or select the options corresponding to the most common insertions.
NOTE: When creating SmartLink tasks, only commands that are written in the primary language are considered as valid commands.
See the following table of task builder parameters.
| Parameter | Description |
|---|---|
|
Date |
Insert a date in the task. The options are: Year, Month, Day, YYYY/MM/DD or MM/DD/YYYY. |
|
Time |
Insert a time in the task. The options are: Hour, Minute, Second, HH:MM:SS or HH:MM. |
|
Event |
Insert event description in the task. You can select to display event name Text or Number. |
|
Location |
Insert the location where the task must take place. The options are: EntraPass Application, Gateway, or connection. |
|
Information #1 to 4 |
Insert event information. The options in the database are: Index Number, Index Text, Component ID, and Component Text. |
|
User Information |
Insert card information in the task. The options are: Card Number, Card User Name, Card Information #1 to #1, or Comment. |
|
Numerical Value |
Insert a number in the task. |
|
Character String |
Insert a string of characters (free text) in the task. |
|
Add Delay |
Insert a delay of 1/10 secs in the task. |
|
Carriage Return |
Insert a carriage return in the task. |
|
Trim Right |
Deletes the last character to the right of the task. |
|
|
Insert an email in the task that sends automatically when the event occurs. |
|
Modem |
Insert a message in the task that sends automatically through a pager when the event occurs. |
|
Serial Device for Messages |
Select the Serial Com Port and Baud rate to send the message. |
|
Serial Device for Commands |
Select the Serial Com Port and Baud rate to send the command. |
|
File |
File opens the Select a file name window that allows you to locate a file , or create a new file where all event information entered in the task will be logged when an event occurs. Close closes the file. Commit to disk saves the file to disk. This command does not close the file. |
|
Execute |
File opens the Select a file name window that allows you to locate the executable file that is used with the task command. Parameters open the Enter Character Strings window allowing you to type a string of characters that is added to the task command. Action allows you to define how you want to launch the task: Launch Hidden, Launch Normal, Launch Minimized, Launch Maximized, or Terminate process). |
|
Network |
Insert a Network Tag. |
|
Command |
Insert a Command Tag. |
|
Modify Language |
You can modify the command language to English or French. |
|
Save SmartLink Mode |
Insert in the SmartLink command to interrupt and place current SmartLink mode in the background, for example sending and email. This command must always be used with Restore Previous SmartLink Mode. |
|
Restore Previous SmartLink Mode |
Insert in the SmartLink command to restore the previous SmartLink mode. This command must always be used with Save SmartLink Mode. |
Adding an Email to a Task
1 - Once you have selected an existing task or created a new one, click the Mailbox button. The Email Task Builder dialog will display on screen.
2 - Enter the your email address in the From... field.
3 - Enter the email address(es) where the message should be sent in the To... field. Each address should be separated by a semi-colon (;).
4 - If you wish to send a copy of this email to other people, enter their name in the CC... field.
5 - Enter the Subject .
6 - If you want to attach a file to the email, enter the entire path to the file in the Attachment field. Each file must be separated by a semi-colon (;).
7 - Enter the message in the text area.
NOTE: Variables can be added to the email subject and body.
8 - Click OK to attach the email to the SmartLink task. The message will appear in the window.
Inserting a Pager Command in a Task
When building a task using SmartLink, EntraPass allows you to insert a command that will send a message to a paging system.
1 - Click the Modem button. The Modem task parameters dialog will display on screen.
2 - The Modem serial port parameter should already be setup.
3 - Enter Dial information such as the pager Phone number.
4 - Check the Pager options and enter the Message that will display on the pager (if the receiving pager has the option to display) and the Delay before message (seconds) will be sent to the pager. The time range value is 00:00 and 09:59 min.
5 - Click OK . The phone number and message will appear in the window :
Inserting Serial Device for Messages
1 - Click the Serial device for messages button. The Serial com port dialog will display on screen.
2 - Select the Port Number and the Baud rate .
3 - Click OK .
Inserting Serial Device for Commands
1 - Click the Serial device for commands button. The Serial com port dialog will display on screen.
2 - Select the Port Number and the Baud rate .
3 - Click OK .
Inserting a File
1 - Click the File (Open) button. The Select a file name dialog will display on screen.
2 - Enter the file name or browse to find the file.
3 - Click OK .
Executing a File
1 - Click the Execute (File) button. The Select a file name dialog will display on screen.
2 - Enter the file name or browse to find the file.
3 - Click OK .
Executing Parameters
1 - Click the Execute (Parameters) button. The Enter character string dialog will display on screen.
Entering a Network Tag
1 - Click the Network button. The Enter network tag dialog will display on screen.
2 - Enter the network tag . The range value is 0 to 999,999.
3 - Click OK .
Entering Commands
1 - Click the Command button. The SmartLink Task Builder dialog will display on screen.
2 - Select a component type from the Component type list.
3 - Select a command from the Command list .
NOTE: The toggle command is only available with specific component types such as Door , Input and Relay .
4 - Select a variable from the Variables list . There are three categories of variable that can be linked to a component type and a command.
• Message Value
• Trigger
• Card Information 1 to 10
Task Building Examples
The following procedures will involve each of the three variables that can be linked to a component type and a command.
Building a Task with a Message Value Variable
1 - From the Definition toolbar, select the Task Builder button.
2 - Click on New and enter Decrement Card Usage Count as the task name.
3 - Click on the Command button.
4 - From the SmartLink Task Builder window, select Card from the Component type drop-down list.
5 - Select Decrement count usage from the Command list .
6 - Select Message Value from the Variable list . The task displays at the bottom of the dialog. Click OK .
7 - The SmartLink task now displays in the text field.
8 - Click Save and close the Task Builder dialog.
9 - From the Definition toolbar, select the Event Trigger button.
10 - Click on New and enter Decrement Card Usage as the event trigger name.
11 - In the Trigger source section, select Door from the component type list.
12 - Click on the three-dot to select the component .
NOTE: You c an also select a group of components or all the components as a trigger source.
13 - In the Trigger destination section, click on the three-dot to select the SmartLink .
14 - Click on the three-dot to select Decrement Card Usage Count as the task.
15 - From the Events tab, select events.
16 - Click on Save and Close .
Building a Task with a Trigger Value Variable
1 - From the Definition toolbar, select the Task Builder button.
2 - Click on New and enter Trigger value as the task name.
3 - Click on the Command button.
4 - From the SmartLink Task Builder window, select Relay from the Component type drop-down list.
5 - Select Toggle relay activation from the Command list .
6 - Select Trigger variable #1 from the Variable list . The task displays at the bottom of the dialog. Click OK .
7 - The SmartLink task now displays in the text field.
8 - Click Save and close the Task Builder dialog.
9 - From the Definition toolbar, select the Event Trigger button.
10 - Click on New and enter Trigger value as the event trigger name.
11 - In the Trigger source section, select Door from the component type list.
12 - Click on the three-dot to select the component .
NOTE: You can also select a group of components or all the components as a trigger source.
13 - Click on the three-dot to select Always valid as the Trigger schedule .
14 - Check the Use extended filter option.
15 - In the Trigger destination section, click on the three-dot to select the SmartLink .
16 - Click on the three-dot to select Trigger value as the task.
17 - Check the Use task variable option.
18 - From the Events tab, select the Access granted event.
19 - Click on Save .
20 - Click on the Variable tab.
21 - Select Relay for both as the variable type.
22 - Click on the Extended filter tab.
23 - Select Card as the Filter type, then select the component filter and both variables .
24 - Repeat Step 23 for as many cards as required.
25 - Click on Save and Close .
Building a Task with a User Information Variable
1 - From the Definition toolbar, select the Task Builder button.
2 - Click on New and enter Toggle Relay via User Information as the task name.
3 - Click on the Command button.
4 - From the SmartLink Task Builder window, select Relay from the Component type drop-down list.
5 - Select Toggle relay activation from the Command list .
6 - Select User Information 1 from the Variable list . The task displays at the bottom of the dialog. Click OK .
7 - The SmartLink task now displays in the text field.
8 - Click Save and close the Task Builder dialog.
9 - From the Definition toolbar, select the Event Trigger button.
10 - Click on New and enter User Information as the event trigger name.
11 - In the Trigger source section, select Door from the component type list.
NOTE: You can also select a group of components or all the components as a trigger source.
12 - Click on the three-dot to select the component .
13 - Click on the three-dot to select Always valid as the Trigger schedule .
14 - In the Trigger destination section, click on the three-dot to select the SmartLink .
15 - Click on the three-dot to select Toggle Relay via User Information as the task.
16 - From the Events tab, select the Access granted event.
NOTE: Make sure the User Information is entered correctly. Check below for an example from the Users toolbar > Card Dialog > General tab. Number 1505 is the RELAYID of the relay that will toggle when the task is performed.
17 - Click on Save and Close.